Start/Run/Regedit 
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run. Data Type: REG_SZ. Value: path to program.

Hive: HKEY_CURRENT_USER 
Key: Software\Microsoft\Windows\CurrentVersion\Policies\System 
Name: DisableTaskMgr 
Type: REG_DWORD
Value: 1=Enablethis key, that is DISABLE TaskManager
Value: 0=Disablethis key, that is Don't Disable, Enable TaskManager 



Start/Run/Regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Value Name: DisableRegistryTools
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = allow regedit, 1 = disable regedit)

Create a new DWORD value named 'DisableRegistryTools' and set the value to '1' to disable registry editing functions. 
Restart Windows for the change to take effect. 